{include file="header" }
{include file="sibar" }

<div class="main-content">
    <div class="main-content-inner">
        <div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa fa-home home-icon"></i>
                    <a href="{:url('index/index')}">首页</a>
                </li>
                <li>
                    <span>商品管理</span>
                </li>
                <li>
                    <span>所以商品</span>
                </li>
            </ul>
        </div>
        <div class="page-content">
            <div class="row">
                <div class="col-xs-12">
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="row">
                                <div class="col-xs-9">
                                    <p>
                                        <a class="btn btn-primary" href="#"><i class="ace-icon fa fa-plus"></i>添加</a>
                                        <a class="btn btn-success"><i class="ace-icon fa fa-check"></i>启用</a>
                                        <a class="btn btn-warning"><i class="ace-icon fa fa-ban"></i>禁用</a>
                                        <a class="btn btn-danger"><i class="ace-icon fa fa-remove"></i>删除</a>
                                    </p>
                                </div>
                                <div class="col-xs-12 col-sm-3">
                                    <form action="" method="get">
                                        <div class="input-group">
                                            <input class="form-control input-mask-product" name="keyword" type="text" placeholder="请输入ID/名称">
                                            <span class="input-group-addon">
                                                <i class="ace-icon fa fa-search"></i>
                                            </span>
                                        </div>
                                    </form>
                                </div>
                            </div>

                            <table class="table table-striped table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>操作</th>
                                    <th>SPU</th>
                                    <th>商品名称</th>
                                    <th>商品价格（元）</th>
                                    <th>商品状态</th>
                                    <th>审核状态</th>
                                    <th>商品图片</th>
                                    <th>分类ID</th>
                                    <th>分类名称</th>
                                    <th>店铺ID</th>
                                    <th>店铺名称</th>
                                    <th>店铺类型</th>
                                    <th>品牌ID</th>
                                    <th>品牌名称</th>
                                </tr>
                                </thead>
                                <tbody>
                                {foreach name='goods' id='item' index='i'}
                                <tr>
                                    <th scope="row">{$i}</th>
                                    <td>{$item.goods_id}</td>
                                    <td>{$item.goods_name}</td>
                                    <td>{$item.goods_price}</td>
                                </tr>
                                {/foreach}
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="footer" }